import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

import { state,mutations,getters } from './mutations'
import { actions } from './actions'
import menu from "./modules/menu.js"
import role from "./modules/role.js"
import manage from './modules/manage'
import cate from "./modules/cate"
import specs from './modules/specs'
import goods from "./modules/goods"
import banner from "./modules/banner"
import seckill from './modules/seckill'
import member from "./modules/member"
export default new Vuex.Store({
    state,
    mutations,
    getters,
    actions,
    modules:{
      menu,
      role,
      manage,
      cate,
      specs,
      goods,
      banner,
      seckill,
      member
    }
})
